package com.sykj.service.lmpl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sykj.bean.BisCustomUserPage;
import com.sykj.bean.BisShopUserPage;
import com.sykj.bean.bis.BisCustomUser;
import com.sykj.mapper.BisCustomUserMapper;
import com.sykj.service.BisCustomUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *  顾客信息表 ： bis_custom_user
 * 开发人员：李家豪
 * 开发时间：2020年7月24日10点12分
 */
@Service
public class BisCustomUserServicelmpl extends ServiceImpl<BisCustomUserMapper, BisCustomUserPage> implements BisCustomUserService {
//    @Autowired
//    private BisCustomUserMapper bisCustomUserMapper;


    @Override
    public IPage<BisCustomUserPage> querys(Page pages, BisCustomUserPage bisShopUserPage) {

        return this.baseMapper.querys(pages,bisShopUserPage);
    }

    @Override
    public BisCustomUserPage queryById(String customUserId) {
        BisCustomUserPage bisCustomUserPage = this.baseMapper.queryById(customUserId);

        return this.baseMapper.queryById(customUserId);
    }

    @Override
    public BisCustomUserPage queryByMobile(String mobile) {
        return this.baseMapper.queryByMobile(mobile);
    }
}
